User-defined events for hardware performance monitoring
نویسندگان
چکیده
PAPI is a widely used cross-platform interface to hardware performance counters. PAPI currently supports native events, which are those provided by a given platform, and preset events, which are pre-defined events thought to be common across platforms. Presets are currently mapped and defined at the time that PAPI is compiled and installed. The idea of user-defined events is to allow users to define their own metrics and to have those metrics mapped to events on a platform without the need to re-install PAPI. User-defined events can be defined in terms of native, preset, and previously defined user-defined events. The user can combine events and constants in an arbitrary expression to define a new metric and give a name to the new metric. This name can then be specified as a PAPI event in a PAPI library call the same way as native and preset events. End-user tools such as TAU and Scalasca that use PAPI can also use the user-defined metrics. Users can publish their metric definitions so that other users can use them as well. We present several examples of how user-defined events can be used for performance analysis and modeling.
منابع مشابه
End-user Tools for Application Performance Analysis Using Hardware Counters
One purpose of the end-user tools described in this paper is to give users a graphical representation of performance information that has been gathered by instrumenting an application with the PAPI library. PAPI is a project that specifies a standard API for accessing hardware performance counters available on most modern microprocessors. These counters exist as a small set of registers that co...
متن کاملIn search of a standards-based approach to hybrid performance monitoring
A new multicomputer performance monitoring system is described in this paper. Where possible, the system employs portable performance monitoring instrumentation technology and leverages previous work. Trace event acquisition is hardware assisted and based on the MultiKron, a single–chip measurement solution developed at the National Institute for Standards and Technology. The user interface is ...
متن کاملUsing PAPI for hardware performance monitoring on Linux systems
PAPI is a specification of a cross-platform interface to hardware performance counters on modern microprocessors. These counters exist as a small set of registers that count events, which are occurrences of specific signals related to a processor's function. Monitoring these events has a variety of uses in application performance analysis and tuning. The PAPI specification consists of both a st...
متن کاملA Scalable Cross-Platform Infrastructure for Application Performance Tuning Using Hardware Performance Counters
The purpose of the PAPI project is to specify a standard API for accessing hardware performance counters available on most modern microprocessors. These counters exist as a small set of registers that count "events", which are occurrences of specific signals and states related to the processor's function. Monitoring these events facilitates correlation between the structure of source/object cod...
متن کاملInteractive Instrumentation and Tuning of OpenMP Programs
A toolset for the interactive instrumentation and tuning of OpenMP programs is presented. The toolset contains an instrumenter, an instrumentation library that collects timings and hardware counters events, an interactive agent that allows monitoring and tuning to be performed across the internet, and a graphical user interface. The system provides facilities for the runtime tuning of the numbe...
متن کامل